package org.example.entity;

import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.Arrays;

public class tt {
    public static void main(String[] args) throws Exception, NoSuchMethodException {
        Class aClass = Class.forName("org.example.entity.Student");
        Object o = aClass.newInstance();
        Method toString = aClass.getMethod("toString",int.class);
        Object invoke = toString.invoke(o,10);
        System.out.println(invoke);


    }
}
